﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/AdminMaster.master" CodeFile="indelivery.aspx.cs" Inherits="MasterPages_Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="admin_ContentPlaceHolder" Runat="Server">
<div id="general_order" style="width:99%; height:20%;vertical-align:top;overflow:auto; background-color:#aaaadd;border-width:1px;border-style:solid; border-color:Lime">
<asp:DataGrid id="delivery_datagrid" runat="server" SelectedItemStyle-BackColor="#99ccff" Width="100%"
PagerStyle-Visible="False" PageSize="10" ItemStyle-CssClass="tableItem" HeaderStyle-CssClass="tableHeader"
 HeaderStyle-BackColor="#aaaadd" BorderColor="black" BackColor="AntiqueWhite" Font-Size="medium"
AutoGenerateColumns="False" DataKeyField="delivery_id" ShowHeader="True" OnItemCommand="OnClickDetailBtn" >

<Columns>
<asp:templatecolumn headertext="序 号" ItemStyle-Width="20%" >
<itemtemplate>
<%# Container.ItemIndex+1 %>
</itemtemplate>
</asp:templatecolumn>           
<asp:boundcolumn ItemStyle-Width="20%" runat="server"
DataField="name" HeaderText="名 字" >
</asp:boundcolumn>
<asp:boundcolumn ItemStyle-Width="20%" runat="server"
DataField="code" HeaderText="代 号" >
</asp:boundcolumn>
<asp:boundcolumn ItemStyle-Width="20%" runat="server"
DataField="phone" HeaderText="电 话" >
</asp:boundcolumn>
<asp:boundcolumn ItemStyle-Width="20%" runat="server"
DataField="delivery_date" HeaderText="发出时间" >
</asp:boundcolumn>
<asp:TemplateColumn headertext="完 成" ItemStyle-Width="20%">
<ItemTemplate>
<asp:Button ID="detail_button" runat="server"
 Text="完 成" >
</asp:Button>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid>
</div>
<div id="detail_order" style="width:100%; height:70%; overflow:auto; background-color:Red">
<asp:TextBox ID="detail_delivery_textbox" runat="server" TextMode="MultiLine" Width="99%" Height="400px" ReadOnly="true"></asp:TextBox>
</div>
<div id="tool_bar" style="width:100%; height:auto; background-color:Lime">
<asp:Label ID="notice_label" runat="server" Font-Size="medium"></asp:Label>
</div>
</asp:Content>

